package com.mevoy.async.generator;

import org.springframework.ui.velocity.VelocityEngineFactory;

import com.mevoy.async.bean.UserReport;
import com.mevoy.async.dao.UserReportDao;
import com.mevoy.async.generator.exception.ReportGeneratorException;

/**
 * 
 * @author diegoicosta
 * 
 */
public interface UserReportGenerator<T extends UserReport> {

	void setVelocityFactory(VelocityEngineFactory velocityFactory);

	void setUserReportTemplateName(String userReportTemplateName);

	void generateReport(T report) throws ReportGeneratorException;

}